how to use right function openoffice calc